import 'package:boss/ui/widget/custom_tooltip.dart';
import 'package:boss/ui/widget/image/base_image.dart';
import 'package:hi_common/hi_common.dart';
import 'package:flutter/material.dart';

class ToolTipIcon extends StatelessWidget {
  final String message;

  const ToolTipIcon(this.message, {Key key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return CustomTooltip(
      message: message,
      child: Container(
        margin: EdgeInsets.only(
          bottom: 13.w
        ),
        child: BaseImage(
          'assets/image/question_icon.png',
          width: 26.w,
          height: 26.w,
        ),
      ),
    );
  }
}
